package com.ct.ah.lab.entity;

import lombok.ToString;

import java.util.Date;
import java.util.List;

@ToString
public class Order {

	private Integer id;
	private Integer uid;
	private String recvName;
	private String recvPhone;
	private String recvProvince;
	private String recvCity;
	private String recvArea;
	private String recvAddress;
	private Integer status;
	private String orderCode;
	private Double price;
	private Date orderTime;
	private Date payTime;
	private String createdUser;
	private Date createdTime;
	private String modifiedUser;
	private Date modifiedTime;
	private Integer payStyle;
	private List<OrderItem> orderItems;

	public Integer getPayStyle() {
		return payStyle;
	}

	public void setPayStyle(Integer payStyle) {
		this.payStyle = payStyle;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public List<OrderItem> getOrderItems() {
		return orderItems;
	}

	public void setOrderItems(List<OrderItem> orderItems) {
		this.orderItems = orderItems;
	}


	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}
	public void setUid(Integer uid){
		this.uid=uid;
	}
	public Integer getUid(){
		return uid;
	}
	public void setRecvName(String recvName){
		this.recvName=recvName;
	}
	public String getRecvName(){
		return recvName;
	}
	public void setRecvPhone(String recvPhone){
		this.recvPhone=recvPhone;
	}
	public String getRecvPhone(){
		return recvPhone;
	}
	public void setRecvProvince(String recvProvince){
		this.recvProvince=recvProvince;
	}
	public String getRecvProvince(){
		return recvProvince;
	}
	public void setRecvCity(String recvCity){
		this.recvCity=recvCity;
	}
	public String getRecvCity(){
		return recvCity;
	}
	public void setRecvArea(String recvArea){
		this.recvArea=recvArea;
	}
	public String getRecvArea(){
		return recvArea;
	}
	public void setRecvAddress(String recvAddress){
		this.recvAddress=recvAddress;
	}
	public String getRecvAddress(){
		return recvAddress;
	}
	public void setStatus(Integer status){
		this.status=status;
	}
	public Integer getStatus(){
		return status;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public void setOrderTime(Date orderTime){
		this.orderTime=orderTime;
	}
	public Date getOrderTime(){
		return orderTime;
	}
	public void setPayTime(Date payTime){
		this.payTime=payTime;
	}
	public Date getPayTime(){
		return payTime;
	}
	public void setCreatedUser(String createdUser){
		this.createdUser=createdUser;
	}
	public String getCreatedUser(){
		return createdUser;
	}
	public void setCreatedTime(Date createdTime){
		this.createdTime=createdTime;
	}
	public Date getCreatedTime(){
		return createdTime;
	}
	public void setModifiedUser(String modifiedUser){
		this.modifiedUser=modifiedUser;
	}
	public String getModifiedUser(){
		return modifiedUser;
	}
	public void setModifiedTime(Date modifiedTime){
		this.modifiedTime=modifiedTime;
	}
	public Date getModifiedTime(){
		return modifiedTime;
	}
}

